package com.bp.village.enums;

import java.util.HashMap;
import java.util.Map;

/**
 * @author shaominjie
 * @description 房产证书枚举
 * @date 2021/2/1 0001 14:56
 */
public enum EnumsBuildingProofType {
    /** 无产权证 **/
    NO_PROPERTY_PROOF(0,"无产权证"),
    /** 无土地使用证 **/
    NO_LAND_PROOF(1,"无土地使用证"),
    /** 无房产证 **/
    NO_BUILDING_PROOF(2,"无房产证"),
    /** 不动产权证 **/
    PROPERTY_PROOF(3,"不动产权证"),
    /** 土地使用证 **/
    LAND_PROOF(4,"土地使用证"),
    /** 房产证 **/
    BUILDING_PROOF(5,"房产证");


    public final static Map<Integer, String> MAP = new HashMap<Integer, String>() {
        {
            put(0,"无产权证");
            put(1,"无土地使用证");
            put(2,"无房产证");
            put(3,"不动产权证");
            put(4,"土地使用证");
            put(5,"房产证");
        }
    };
    private Integer type;
    private String name;

    EnumsBuildingProofType(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

